home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsdocs / gbtextinfo.doc < prev    next >
Encoding:
Text File  |  1994-06-06  |  2.2 KB  |  87 lines

  1. TABLE OF CONTENTS
  2.  
  3. egb/gbtextinfo.library/EGB_CreateTextInfoGadget
  4. egb/gbtextinfo.library/EGB_ModifyTextInfoGadget
  5. egb/gbtextinfo.library/EGB_SetTextInfoPos
  6. egb/gbtextinfo.library/EGB_CreateTextInfoGadgetegb/gbtextinfo.library/EGB_CreateTextInfoGadget
  7.  
  8.    NAME
  9.     EGB_CreateTextInfoGadget -- 
  10.  
  11.    SYNOPSIS
  12.     EGB_CreateTextInfoGadget(con, minW, maxW, minH, maxH, font, id)
  13.                              A0   D0    D1    D2    D3    A1    D4
  14.  
  15.     EB_GadBoxPtr EGB_CreateTextInfoGadget(EB_GadContext, WORD, WORD, WORD, WORD, EG_EFontPtr, LONG)
  16.  
  17.    FUNCTION
  18.     Creates a gadbox textinfo gadget. These gadgets don't expect user
  19.     input. They display text to the user. The user can scroll through the
  20.     text using a proportional gadget. These gadgets have an automatic
  21.     word wrap, so no care for the gadgets widhth has to be taken.
  22.  
  23.    INPUTS
  24.     con    : The associated gadget context
  25.     minW   : The minimum number of collumns requiered
  26.     maxW   : The maximum number of collumns allowed
  27.     minH   : The minimum number of lines requiered
  28.     maxH   : The maximum number of lines allowed
  29.     font   : The font to be used; if NULL, the default font is used
  30.     id     : The gadgets id (only used to find it);
  31.  
  32.    RESULT
  33.  
  34.    SEE ALSO
  35.  
  36.  
  37. egb/gbtextinfo.library/EGB_ModifyTextInfoGadgetegb/gbtextinfo.library/EGB_ModifyTextInfoGadget
  38.  
  39.    NAME
  40.     EGB_ModifyTextInfoGadget -- 
  41.  
  42.    SYNOPSIS
  43.     EGB_ModifyTextInfoGadget(win, gad, text)
  44.                              A0   A1   A2
  45.  
  46.     void EGB_ModifyTextInfoGadget(EI_WindowPtr, EI_GadgetPtr, char *)
  47.  
  48.    FUNCTION
  49.     Set, clear of change the text of a text info gadget. The text is an
  50.     array of chars. Paragraphs are separated by LF. The text must be
  51.     terminated by a null character.
  52.  
  53.    INPUTS
  54.     win     : The window, that contains the gadget; if NULL, no refresh is done
  55.     gad     : The text info gadget
  56.     text    : The text to be displayed. Must be kept, until it is remove again.
  57.         NULL clears the text.
  58.  
  59.    RESULT
  60.  
  61.    SEE ALSO
  62.  
  63.  
  64. egb/gbtextinfo.library/EGB_SetTextInfoPosegb/gbtextinfo.library/EGB_SetTextInfoPos
  65.  
  66.    NAME
  67.     EGB_SetTextInfoPos -- 
  68.  
  69.    SYNOPSIS
  70.     EGB_SetTextInfoPos(win, gad, line)
  71.                        A0   A1   D0
  72.  
  73.     void EGB_SetTextInfoPos(EI_WindowPtr, EI_GadgetPtr, LONG)
  74.  
  75.    FUNCTION
  76.  
  77.    INPUTS
  78.     win          - 
  79.     gad          - 
  80.     line         - 
  81.  
  82.    RESULT
  83.  
  84.    SEE ALSO
  85.  
  86.  
  87.